#ifndef DEBUG_H
#define DEBUG_H
#include <QDebug>
/**
 * 用于控制调试窗口输出信息
 */
class Debug
{
public:
    Debug();
    void DEBUG(unsigned char str[], int nlen, int var);
    void FuncPrint(char str[]);

public:
    int DEBUG_FOR_ANSER;
    int DEBUG_FOR_REAL;
    int DEBUG_FOR_FUNCTION;
};

extern Debug m_Debug;    //变成全局变量

#endif // DEBUG_H
